opus.Gizmo({
	name: "Data2",
	dropTarget: true,
	type: "Palm.Mojo.Panel",
	h: "100%",
	styles: {
		zIndex: 2
	},
	components: [
		{
			name: "submitService",
			onSuccess: "submitServiceSuccess",
			onFailure: "submitServiceFailure",
			url: "http://data.pdxapi.com/cats",
			method: "POST",
			parameters: {},
			handleAs: "json",
			contentType: "application/json",
			type: "Palm.Mojo.WebService"
		}
	],
	chrome: [
		{
			name: "header1",
			label: "Your Cat",
			type: "Palm.Mojo.Header",
			l: 0,
			t: 0
		},
		{
			name: "group4",
			layoutKind: "hbox",
			dropTarget: true,
			label: "Is your cat neutered?",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 50,
			h: 96,
			controls: [
				{
					name: "row6",
					layoutKind: "hbox",
					dropTarget: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "100%",
					hAlign: "right",
					controls: [
						{
							name: "label1",
							label: "y/n",
							type: "Palm.Mojo.Label",
							l: 0,
							t: 0,
							h: "100%"
						},
						{
							name: "neutered",
							value: false,
							trueValue: true,
							falseValue: false,
							type: "Palm.Mojo.CheckBox",
							l: 243,
							w: 59,
							t: 0,
							hAlign: "right"
						}
					]
				}
			]
		},
		{
			name: "group3",
			dropTarget: true,
			label: "Where does it live?",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 203,
			controls: [
				{
					name: "row4",
					layoutKind: "hbox",
					dropTarget: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "100%",
					controls: [
						{
							name: "liveLocation",
							value: "both",
							choices: [
								{
									label: "Indoors Only",
									value: "indoor"
								},
								{
									label: "Outdoors Only",
									value: "outdoor"
								},
								{
									label: "Indoors and Outdoors",
									value: "both"
								}
							],
							label: "",
							labelPlacement: "left",
							type: "Palm.Mojo.ListSelector",
							l: 0,
							t: 0,
							h: "100%",
							styles: {
								textAlign: "left"
							}
						}
					]
				}
			]
		},
		{
			name: "group2",
			dropTarget: true,
			label: "Where do you feed it?",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 297,
			controls: [
				{
					name: "row2",
					layoutKind: "hbox",
					dropTarget: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "100%",
					controls: [
						{
							name: "feedInfo",
							value: "inside",
							choices: [
								{
									label: "Inside Only",
									value: "inside"
								},
								{
									label: "Outside Only",
									value: "outside"
								},
								{
									label: "Inside and Outside",
									value: "both"
								}
							],
							label: "",
							labelPlacement: "left",
							type: "Palm.Mojo.ListSelector",
							l: 0,
							t: 0,
							h: "100%"
						}
					]
				}
			]
		},
		{
			name: "group1",
			dropTarget: true,
			label: "What is your cat's name?",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 247,
			controls: [
				{
					name: "row1",
					dropTarget: true,
					isTextField: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "auto",
					controls: [
						{
							name: "catName",
							hintText: "name of cat",
							type: "Palm.Mojo.TextField",
							l: 0,
							t: 229
						}
					]
				}
			]
		},
		{
			name: "button1",
			ontap: "button1Tap",
			disabled: undefined,
			buttonClass: "affirmative",
			label: "Done",
			type: "Palm.Mojo.Button",
			l: 0,
			t: 282
		}
	]
});